from rest_framework.routers import DefaultRouter
from main.alarm.views import AlarmModelViewSet, weixin_warn
from django.urls import path

router = DefaultRouter()
router.register(r'', AlarmModelViewSet)

urlpatterns = [
    path('weixin_warn', weixin_warn),
]
urlpatterns += router.urls
